Font Weights
Contains pre-defined values for common font weights.
import { Text, font_weights } from ui
export var main = Text("Hello, world!", font_weight: font_weights.bold)
Properties
thin: Int (get)
Equivalent to 100.
extra_light: Int (get)
Equivalent to 200.
light: Int (get)
Equivalent to 300.
normal: Int (get)
Equivalent to 400.
medium: Int (get)
Equivalent to 500.
demi_bold: Int (get)
Equivalent to 600.
bold: Int (get)
Equivalent to 700.
extra_bold: Int (get)
Equivalent to 800.
black: Int (get)
Equivalent to 900.